package cn.lijida.weiwei.favor.modules.member.service;

import javax.validation.Valid;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.lijida.weiwei.favor.modules.member.entity.FavorMember;
import cn.lijida.weiwei.favor.modules.sys.bo.LoginBO;
import cn.lijida.weiwei.favor.modules.sys.vo.LoginVO;

/**
 * <p>
 * 成员 服务类
 * </p>
 *
 * @author jobob
 * @since 2019-12-28
 */
public interface IFavorMemberService extends IService<FavorMember> {

	/**  
	 * <p>Title: create</p>  
	 * <p>Description: 创建成员</p>  
	 * @param member  
	 * @throws Exception 
	 */  
	void register(FavorMember member) throws Exception;

	/**  
	 * <p>Title: login</p>  
	 * <p>Description: 成员登录</p>  
	 * @param login
	 * @return  
	 * @throws Exception 
	 */  
	LoginVO login(@Valid LoginBO login) throws Exception;

}
